<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class c_info extends CI_Controller {

	function __construct(){
		parent::__construct();
		$this->load->model('m_info');
		$this->load->helper('date_helper');
	}
	
	function index(){
		$task = $this->input->post("task");
		switch($task){
			case 'GET_INFO' : 
				$this->get_info(); 
				break;
			default : 
				echo "";
		}
	}

	function get_info(){
		$data = $this->m_info->get_info();
		echo $data;
	}
}